package com.czxy.spday02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/show01")
    public String show01(Model model) {

        System.out.println("show01执行了");
        model.addAttribute("msg","嘿嘿嘿");
        return "/show01.jsp";
    }




}
